|
currentsens 2.2.0
|
Current Sens Click example. More...
Macros | |
| #define | CURRENTSENS_CALIBRATING_CURRENT 3.0f |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Current Sens Click example.
This example demonstrates the use of Current Sens Click board by reading and displaying the input current measurements.
The demo application is composed of two sections :
Initializes the driver and calibrates the zero current offset and data resolution at 3A load current.
Reads the input current measurements and displays the results on the USB UART approximately once per second.
| #define CURRENTSENS_CALIBRATING_CURRENT 3.0f |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |